Minimal Instances of Database Schemes with Additive Cardinality Constraints
نویسنده
چکیده
In the entity-relationship approach to database design, integrity constraints are used to express database semantics. Cardinality constraints are a frequently used way of imposing restrictions to the structure of the databases. In this paper, we consider additive cardinality constraints which specify lower and upper bounds on the total number of relationships an entity of a xed type may be involved in. It is natural to ask for the smallest fully-populated database that yields a given set of integrity constraints. For additive cardinality constraints this proplem is proved to be NP-complete. However, the problem can be tackled via branch & bound. To solve the relaxed optimization problem we use min-cost ow methods in a suitable network depending on the given database scheme.
منابع مشابه
Bounded Cardinality and Symmetric Relationships
An entity relationship diagram (ERD) shows the cardinality of each entity in a relationship. In an ERD, minimum cardinalities can be either 0 or 1, and maximum cardinalities can be 1 or infinity. Bounded cardinality occurs when a relationship between entities has cardinality within a specified range. Problems displaying bounded cardinality might include team rosters that must have exactly 5, 9,...
متن کاملDataSynth: Generating Synthetic Data using Declarative Constraints
A variety of scenarios such as database system and application testing, data masking, and benchmarking require synthetic database instances, often having complex data characteristics. We present DataSynth, a flexible tool for generating synthetic databases. DataSynth uses a simple and powerful declarative abstraction based on cardinality constraints to specify data characteristics, and uses sop...
متن کاملQuery-oriented Relaxation for Cardinality Assurance
Although a large number of queries used in applications ranging from web search to business intelligence have associated cardinality constraints, current database engines have minimal support for ensuring query cardinality. This leads to two main types of problems: the empty result-set problems and the too few/too many problems. Inability to meet query cardinality constraints requires the user ...
متن کاملReachability Problems in Entity-Relationship Schema Instances
Recent developments in reification of ER schemata include automatic generation of webbased database administration systems [1,2]. These systems enforce the schema cardinality constraints, but, beyond unsatisfiable schemata, this feature may create unreachable instances. We prove sound and complete characterisations of schemata whose instances satisfy suitable reachability properties; these theo...
متن کاملNative Cardinality Constraints: More Expressive, More Efficient Constraints
Boolean cardinality constraints are commonly translated (encoded) into Boolean CNF, a standard form for Boolean satisfiability problems, which can be solved using a standard SAT solving program. However, cardinality constraints are a simple generalization of clauses, and the complexity entailed by encoding them into CNF can be avoided by reasoning about cardinality constraints natively within a...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1997